home *** CD-ROM | disk | FTP | other *** search
- ;SAMPLE USEMGR CONFIGURATION FILE - 01-30-1993
-
- ; This sample file is provided to explain how the USEMGR configuration file is
- ; constructed and to show how to make additions and changes to it.
- ;
- ; The USEMGR.CFG file is used by both USEMGR and USEMON to set up values of
- ; the program parameters. Most entries in the file are maintained by USEMGR
- ; itself, and users do not ordinarily need to worry about them. But some
- ; entries can only be made or changed by modifying this file directly. Any
- ; standard ASCII text editor can be used.
-
- ; When USEMGR reads its configuration file, it ignores all blank lines, and
- ; all text following a semicolon. Comments can be placed anywhere in the file,
- ; but remember that when USEMGR rewrites a section of the file it will delete
- ; the comments in that section.
-
- ; The file is divided into sections headed by a section name such as [OPTIONS]
- ; or [TOOLS]. The section name must be enclosed in brackets, and may contain
- ; multiple words up to a total of 15 characters. USEMGR and USEMON ignore case
- ; in section names. A section continues until the next section name or the end
- ; of the file is reached.
-
- ;-----------------------------------------------------------------------------
- ; The [OPTIONS] section is used by USEMGR to set the startup condition for the
- ; number of lines on the screen (requires EGA or better monitor). It also
- ; determines the extent to which USEMGR will ask for confirmation before
- ; deleting or overwriting files. These items can be changed within USEMGR in the
- ; OPTIONS menu. The change can be made permanent by selecting OPTIONS SAVE
-
- ; The next three items allow three groups of file types to be displayed in
- ; distinctive colors in the USEMGR directory display. The examples show
- ; typical uses. These entries must be made with an editor. The color choices
- ; are fixed, and cannot be changed by the user.
-
- ;-----------------------------------------------------------------------------
- ; The [TOOLS] section defines the way in which user-supplied programs are
- ; accessed from USEMGR. These programs will appear in the USEMGR TOOLS menu
- ; and can act on either the highlighted file, or on all of the marked files.
- ; This is the most flexible, but complicated, part of the USEMGR.CFG file.
- ; All changes and additions to this section must be made with an editor.
-
- ; Each Tool is defined on a single line that has the following form:
- ; KEY=MENU ENTRY, COMMAND,KEYCODE,STATUS,SCOPE,EDIT
-
- ; Menu Entry - Text you want to appear in the Tools menu
- ; Command (Including default parameters)
- ; KeyCode is the code that defines the hot key for this entry. See the Appendix
- ; in the USEMGR manual.
- ;Status String is the Help entry that will appear on the bottom of the screen
- ;Scope: 1=Apply command to highlighted file
- ; 2=Apply command sequentially to all marked files
- ; 3=Create a list of marked files and insert filename where indicated
- ; by @\xxxxxx\
- ;Edit YES=Allow user to edit command before execution
- ; NO=Execute command immediately.
-
- ;Menu, Command and Key are required.
- ;Defaults will be used for the others if not present.
- ;However, the comma delimiters are always required.
-
- ;Use %1 to indicate where in the command you want the filename inserted.
- ;The default for %1 is at the end of the command
-
- ;Use %2 to indicate where you want user-supplied options to be inserted.
- ;Usemgr will open an edit window to get the options, and will insert them
- ;there. The default is No user supplied options.
-
- ;Use @\xxxxxx\ to have UseMgr supply a list of marked files for use by your
- ;program. UseMgr will insert filename where indicated by @\xxxxxx\
- ;Example Myprog @\<\ results in Myprog <usemgr.tmp
-
- ;-----------------------------------------------------------------------------
- ; When you save a filter in USEMGR, it writes a section in the USEMGR.CFG file
- ; with the name of the filter, defining each of the selection criteria in the
- ; filter. Since USEMGR will do this automatically, and has built-in error
- ; checking that will prevent inconsistent filter criteria, you probably will not
- ; need to create your own. But for completeness, here are the key words
- ; involved, using the default values as an example. NOTE that if any of
- ; these entries are not present, USEMGR will use the default values.
- ; You can have as many different filter entries as you want.
-
- ; [EXAMPLE] ; Filter Name
- ;Files=*.* ;File specs to be displayed. Default is '*.*'
- ;MinCreateDate=01-01-1900 ; Earliest File Creation Date
- ;MaxCreateDate=12-31-2100 ; Latest File Creation Date
- ;MinSize=0 ; Don't show files smaller than this.
- ;MaxSize=32000000 ; Don't show files larger than this.
- ;Hidden=NO ; Don't show Hidden files.
- ;SysFile=NO ; Don't show System files.
- ;MinUses=0 ; Don't show files with fewer uses.
- ;MaxUses=999999 ; Don't show files with more uses.
- ;MinDateUsed=01-01-1900 ; Don't Show files last used before this.
- ;MaxDateUsed=12-31-2100 ; Don't Show files last used after this.
- ;Sort=NAME ; Sort display by name
-
- ;-----------------------------------------------------------------------------
- ; USEMON also uses the USEMGR.CFG file to specify the files for which it will,
- ; and will not process usage data. These sections are [SELECT] and [REJECT].
-
- ; An entry in either section can be one of three types, examples of which are
- ; shown below;
-
- ; [REJECT]
- ; *.bak ; Don't count usage for any file with extension BAK
- ; c:\letters\*.old ; Don't count usage for files in c:\letters subdirectory
- ; with extension OLD
- ; c:\test\*.* /S ; Don't count usage for ANY file in c:\test or
- ; any of its subdirectories.
-
- ; The same syntax applies to the [SELECT] section, although the most likely
- ; entry there is *.*
-
- ;-----------------------------------------------------------------------------
- ;Report formats are found in The [REPORTS] section of the config-
- ;uration file. Report formats must be entered in this section by the
- ;user, using a text editor. The format of this section is:
- ;
- ;[REPORTS]
- ;ReportName = Part [, Part] [,Part] ....
- ; where
- ; Part = PartName [:n] | "Literal" [:n] |#:n
- ; PartName = Path | Name | Ext | Size | CreateDate| CreateTime| Attrib
- ; |Descr | UseDate | Count
- ;
- ;The optional :n in all cases but one defines the width of the field,
- ;within which text will be right-justified. The exception is #:n,
- ;which means "Start next part at column n."
- ;-----------------------------------------------------------------------------
-
- [OPTIONS]
- VGA25=YES ;Start USEMGR with 25 line screen
- ;VGA25=NO ;Start USEMGR with 43/50 line screen
- DeleteQuery=YES ;Ask user to confirm before deleting files
- ;DeleteQuery=NO ;Delete files without confirmation
- OverWriteQuery=YES ;Ask user to confirm before overwriting existing file.
- ;OverWriteQuery=NO ;Overwrite existing file without confirmation.
- ;1FileGroup=*.exe ;Color Red
- ;2FileGroup=project*.wks *.xls ;Color Brown
- ;3FileGroup=*.bak *.tmp *.jnk ;Color Lt. Cyan
-
- [TOOLS]
- ;KEY=ZIP F3,4zip -ac @\@\ %2,3d00,ZIP marked files. Prompts for ZIP file name and options.,3,No
- ;KEY=UNZIP SH-F3,4unzip.exe,5600,Unzip current file,1,YES
- ;KEY=LIST F4,list.com,3E00,View File as Text or Hex,1,NO
- ;KEY=EDIT SH-F4,edit,5700,Edit ASCII text file,1,NO
- ;KEY=4EDIT F5,4edit.exe,3F00,Edit file description,1,NO
-
-
-
- [MISC JUNK]
- Files=*.bak *.tmp *.$$$ *.jnk junk*.*
- MinCreateDate=01-01-1900
- MaxCreateDate=12-31-2100
- MinSize=0
- MaxSize=32000000
- Hidden=NO
- SysFile=NO
- MinUses=0
- MaxUses=999999
- MinDateUsed=01-01-1900
- MaxDateUsed=12-31-2100
- Sort=NAME
-
- [OFTEN USED]
- Files=*.*
- MinCreateDate=01-01-1900
- MaxCreateDate=12-31-2100
- MinSize=0
- MaxSize=32000000
- Hidden=NO
- SysFile=NO
- MinUses=25
- MaxUses=999999
- MinDateUsed=01-01-1900
- MaxDateUsed=12-31-2100
- Sort=NAME
-
- [DEFAULT]
- Files=*.*
- MinCreateDate=01-01-1900
- MaxCreateDate=12-31-2100
- MinSize=0
- MaxSize=32000000
- Hidden=NO
- SysFile=NO
- MinUses=0
- MaxUses=999999
- MinDateUsed=01-01-1900
- MaxDateUsed=12-31-2100
- Sort=EXTENSION
-
- [NOT USED]
- Files=*.*
- MinCreateDate=01-01-1900
- MaxCreateDate=12-31-2100
- MinSize=0
- MaxSize=32000000
- Hidden=NO
- SysFile=NO
- MinUses=0
- MaxUses=5
- MinDateUsed=01-01-1900
- MaxDateUsed=12-31-2100
- Sort=EXTENSION
-
- [SELECT]
- *.*
-
- [REJECT]
- *.$$$
- *.tmp
- *.bak
- *.swp
-
- [REPORTS]
- Simple=Path,Name,".",Ext,#:40,Descr
- Columnar=Path,#:40,Name:9,Ext:4,Size:9,UseDate:9,Count:10
-